Fast modular exponentiation of large numbers with large exponents

نویسندگان

  • Giuseppe Alia
  • Enrico Martinelli
چکیده

In many problems, modular exponentiation jxjm is a basic computation, often responsible for the overall time performance, as in some cryptosystems, since its implementation requires a large number of multiplications. It is known that jxjm 1⁄4 jxjbjuðmÞ jm for any x in 1⁄21;m 1 if m is prime; in this case the number of multiplications depends on uðmÞ instead of depending on b. It was also stated that previous relation holds in the case m 1⁄4 pq, with p and q prime; this case occurs in the RSA method. In this paper it is proved that such a relation holds in general for any x in 1⁄21;m 1 when m is a product of any number n of distinct primes and that it does not hold in the other cases for the whole range 1⁄21;m 1 . Moreover, a general method is given to compute jxjm without any hypothesis on m, for any x in 1⁄21;m 1 , with a number of modular multiplications not exceeding those required when m is a product of primes. Next, it is shown that representing x in a residue number system (RNS) with proper moduli mi allows to compute jxjm by n modular exponentiations jxi jmi in parallel and, in turn, to replace b by jbjuðmiÞ in the worst case, thus executing a very low number of multiplications, namely dlog2 mie for each residue digit. A general architecture is also proposed and evaluated, as a possible implementation of the proposed method for the modular exponentiation. 2002 Elsevier Science B.V. All rights reserved.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

High-Speed Modular Multiplication Algorithm for RSA Cryptosystem

Both encryption and decryption are modular exponentiation. Therefore, the fast modular exponentiation algorithm is required. For most hardware implementation, the simple square and multiply algorithm, often called binary method, is assumed to be the most effective because of the simple hardware structure and repetitive control. In the RL (Right-to-Left) binary method, n iterations are needed an...

متن کامل

Comparison of Three Modular Reduction Functions

Three modular reduction algorithms for large integers are compared with respect to their performance in portable software: the classical algorithm, Barrett’s algorithm and Montgomery’s algorithm. These algorithms are a time critical step in the implementation of the modular exponentiation operation. For each of these algorithms their application in the modular exponentiation operation is consid...

متن کامل

New Modular Multiplication Algorithms for Fast Modular Exponentiation

A modular exponentiation is one of the most important operations in public-key cryptography. However, it takes much time because the modular exponen-tiation deals with very large operands as 512-bit integers. The modular exponentiation is composed of repetition of modular multiplications. Therefore, we can reduce the execution time of it by reducing the execution time of each modular multiplica...

متن کامل

Deciding the Security of Protocols with Diffie-Hellman Exponentiation and Products in Exponents

We present an NP decision procedure for the formal analysis of protocols in presence of modular exponentiation with products allowed in exponents. The number of factors that may appear in products is unlimited. We illustrate that our model is powerful enough to uncover known attacks on the A-GDH.2 protocol suite.

متن کامل

Iterative modular multiplication algorithm without magnitude comparison - Electronics Letters

A fast iterative modular multiplication algorithm is proposed for modular exponentiation with a large modulus, such as the RSA cryptosystem. The limit on partial products is raised to become less than 2” instead of modulus N with n-bit length. The naturally generated carry signifies when the computed partial product is greater than or equal to 2”. and a subtraction is subsequently performed. No...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Journal of Systems Architecture

دوره 47  شماره 

صفحات  -

تاریخ انتشار 2002